<template>
  <div class="empty-container">
    <div class="empty-content" style="margin-top: 5%;">
      <img src="@/assets/images/empty_data.png" width="170" height="100" />
      <p class="empty-desc" style="font-size: 14px;">
        {{word}}
      </p>
    </div>
  </div>
</template>
<script>
export default {
  name: 'EmptyList',
  data() {
    return {}
  },
  props: {
    // route object
    word: {
      type: String,
      default:'暂时没有数据',
    },
  },
  watch: {},
  methods: {},
  mounted() {

  }
}
</script>

<style lang="scss" scoped>
.empty-container{
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

  .empty-content{
    width: 100%;
    text-align: center;
  }
  .img_empty{
    background: url('~@/assets/images/empty_data.png') no-repeat center 0;
    width: 140px; height: 86px;
  }

  .img{
    border: 0;
    vertical-align: middle;
  }
  .empty-desc{
    margin-top: 16px;
    font-size: 16px;
    font-weight: 400;
    color: #9ba7c0;
    line-height: 24px;
    text-align: center;
  }
</style>
